package lanou.a36ke_01.activity.mineactivity;

import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import lanou.a36ke_01.R;
import lanou.a36ke_01.tools.BaseActivity;


public class KnowActivity extends BaseActivity {

    private String url = "https://z.36kr.com/class";

    private WebView webView;

    @Override
    protected int setLayout() {
        return R.layout.activity_know;
    }

    @Override
    protected void initView() {

        webView = bindView(R.id.activity_know_webview);

    }

    @Override
    protected void initDate() {
        webView.setWebViewClient(new WebViewClient());
        WebSettings webSettings = webView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        webView.loadUrl(url);
    }
}
